/* reset */
html,body,h1,h2,h3,h4,h5,h6,div,dl,dt,dd,ul,ol,li,p,blockquote,pre,hr,figure,table,caption,th,td,form,fieldset,legend,input,button,textarea,menu{margin:0;padding:0;}
header,footer,section,article,aside,nav,hgroup,address,figure,figcaption,menu,details{display:block;}
table{border-collapse:collapse;border-spacing:0;}
caption,th{text-align:left;font-weight:normal;}
html,body,fieldset,img,iframe,abbr{border:0;}
i,cite,em,var,address,dfn{font-style:normal;}
[hidefocus],summary{outline:0;}
li{list-style:none;}
h1,h2,h3,h4,h5,h6,small{font-size:100%;}
sup,sub{font-size:83%;}
pre,code,kbd,samp{font-family:inherit;}
q:before,q:after{content:none;}
textarea{overflow:auto;resize:none;}
label,summary{cursor:default;}
a,button{cursor:pointer;}
h1,h2,h3,h4,h5,h6,em,strong,b{font-weight:bold;}
del,ins,u,s,a,a:hover{text-decoration:none;}
body,textarea,input,button,select,keygen,legend{font:12px/1.14 arial,\5b8b\4f53;color:#333;outline:0;}
body{background:#f4f5f7;}
a,a:hover{color:#333;}

header{
    height: 60px;
    position: relative;
    background-color: #fff;
    .header-wrap{
        width: 1160px;
        height: 100%;
        position: relative;
        background-color: #fff;
        margin:0 auto;
        display:flex;
        align-items: center;
        .logo{
            width: 130px;
            height: 27px;
            background: url("/images/logo.png") no-repeat;
            background-size: 100%;
            cursor: pointer;
        }
        .tv-icon{
            background: url("/images/tv-icon.png");
            cursor: pointer;
            margin-left:40px;
            margin-right:6px;
            width: 16px;
            height: 18px;
            background-size: 100%;
        }
        .main-site{
            color: #636c7b;
            font-size: 14px;
            line-height: 14px;
            width: 60px;
        }
        .search{
            flex:1;
            position: relative;
            input{
                margin-left:350px;
                width: 360px;
                height: 40px;
                font-size:12px;
                color: #6d757a;
                cursor: auto;
                border: none;
                background: #f1f3f5;
                border-radius: 40px;
                padding-left:20px;
            }
            .search-icon{
                position: absolute;
                right:18px;
                transform:translateY(-50%);
                width:18px;
                top:50%;
                height:18px;
                background: url("/images/search-icon.jpg") no-repeat;
                background-size: contain;
            }
        }
        .register-login{
            align-items: center;
          
            display: flex;
            font-size: 14px;
            color: #636c7b;
            letter-spacing: 0;
            line-height: 20px;
            margin-left: 30px;
            width: 106px;
            
            cursor: pointer;
            .register a{
            display:block;
            &:hover{
                color:#f25d8e;
            }
            }
           .middle-line{
               margin:0 4px;
               width:1px;
               height: 12px;
               background: #636c7b;
           }
           .login{
            cursor: pointer;
            &:hover{
                color:#f25d8e;
            }
           }
        }
        // .user-info a{
        //     cursor: pointer;
        //     display:block;
        //     width: 40px;
        //     height: 40px;
        //     background:url("/images/noface.gif") no-repeat;
        //     background-size: contain;
        //     border-radius: 20px;

        // }
        .order-and-icon{
            margin-left:25px;
            display:flex;
            align-items: center;
            .order-icon{
                width: 18px;
                height: 18px;
                background: url("/images/order-icon.jpg");
                background-size: 100% 100%;
                background-repeat: no-repeat;
                margin-right:4px;

            }
            .order-center{
                height: 14px;
                color: #636c7b;
                line-height: 14px;
                width: 60px;
                font-size:14px;
                &:hover{
                    color:#f25d8e;
                }
            }
        }
    }
}
nav{
    height: 300px;
    background-color: tomato;
}
/* selector-list*/
.selector-list{
    box-shadow:0 1px 0 0 rgba(204,208,215,.3);
    height: 120px;
    font-size:12px;
   
    .dd-more{
        position: relative;
        text-align: right;
        margin-left:auto;
        background: url("/images/arr.jpg")no-repeat right center;
       
    }
    .city-selector dd,{
        width:90px;
        cursor: pointer;
        &:hover{
            color:#f25d8e;
        }
    }
    .type-selector dd,.order-selector dd{
        width:140px;
        cursor: pointer;
        // text-align:right;
        &:hover{
            color:#f25d8e;
        }
    }
    .city-selector,.type-selector,.order-selector{
        width: 1160px;
        height: 40px;
        margin: 0 auto;
        box-sizing:border-box;
      align-items: center;
        display:flex;
        
        border-bottom: 1px dashed #e5e9ef;
        .title{
            width: 90px;
            // margin-right: 0;
            font-size: 12px;
            color: #99a2aa;
            letter-spacing: 0;
           
           
        }
        dl{
           
            flex:1;
            display:flex;
            &::after{
                content:"";
                width:10px;
                height: 5px;
                margin-left:5px;
               margin-top:3px;
                background: url("/images/sub.jpg");
                
            }
            // justify-content: space-between;

            dt{
                width:120px;
                cursor: pointer;
                &:hover{
                    color:#f25d8e;
                }
               
            }
          
        }
        
       
    }
}
/*商品列表*/
.products-list{
    width: 1160px;
    margin: 0 auto;
    background-color:rgb(245,244,247);
   
    padding-top:55px;
    overflow: hidden;
    .prod{
        position: relative;
        box-sizing: border-box;
        margin-right: 20px;
        width:560px;
        box-shadow:0 0 15px 0 hsla(203,6%,45%,.09);
        height: 237px;
        margin-bottom:60px;
        background-color: #fff;
        border-radius: 8px;
        float:left;
        transition: all .2s;
        &:hover{
            box-shadow: 1px 7px 5px  0 rgb(195,198,202);
           img{
               top:-25px;
               border-radius: 8px;
           }
        }
        img{
            position: absolute;
           border-radius: 8px;
            left:0;
            top:-20px;
            width: 175px;
            height: 233px;
            box-shadow: 1px 2px 1px rgb(195,198,202);
        }
        .detail{
            margin-left: 223px;
            box-sizing: border-box;
            width:268px;
            height: 237px;
            padding-top: 30px;
            h3{
                font-size: 18px;
                
                width: 286px;
                height: 48px;
                color: #222;
                line-height: 24px;
            }
            .time{
                margin-top: 19px;
                height: 17px;
                font-size: 14px;
                color: #999;
                display: flex;
    
                align-items: center;
            }
            .address{
                margin-top: 10px;
                
                height: 17px;
                font-size: 14px;
                color: #999;
            }
            .not-free{
                margin-top: 40px;
                color: #f25d8e;
                // display:flex;
                .price-symbol{
                    font-size:18px;
                    line-height: 18px;


                }
                .price{
                    font-size: 28px;
                    margin-left: 4px;
                    letter-spacing: 1px;

                }
                .start{
                    margin-left: 5px;
                    font-size: 12px;
                    color: #999;
                }
            }
        }
    
    }

}
/*分页*/
.whole-pagination{
    width:170px;
    margin:55px auto;
    height: 16px;
    display:flex;
    cursor: pointer;
    justify-content: space-between;
    .pre{
        width: 9px;
        height: 15px;
        background:url("/images/pre.jpg")no-repeat;
        background-size: contain;
    }
    .pagination{
        flex:1;
        display:flex;
        span{
            margin:auto;
        }
        
    }
    .next{
        width: 9px;
        height: 15px;
        background:url("/images/next.jpg")no-repeat;
        background-size: contain;
    }
}
/*toolbar*/
.toolbar{
    width: 78px;
    height: 145px;
    display:flex;
    flex-flow: column;
    justify-content: space-around;
    align-items: center;
    position: fixed;
    bottom:50px;
    background-color: #fff;
    right:55px;
    border-radius: 12px;
    box-shadow: 0 2px 22px 0 rgba(214,186,216,.5);
    .suggest-icon{
        width: 55px;
        height: 59px;
        background: url("/images/suggest.png") no-repeat;
        cursor: pointer;
    }
    .backtop-icon{
        width: 35px;
        height: 45px;
        background: url("/images/backtop.png") no-repeat;
        cursor: pointer;
    }

}
//border
.border{
    width: 980px;
    height: 1px;
    margin: 5px auto 23px;
    border-top: 1px solid #e5e9ef;
}
/*footer*/
footer{
    height: 222px;
    background-color: #f4f5f7;
    
    .footer-cnt{
        font-size: 14px;
        width: 1160px;
        margin: 0 auto;
        overflow: hidden;
        .top{
            box-sizing: border-box;
            dl:nth-child(1){
                width: 352px;
                height: 112px;
               
                padding-right:40px;
                float: left;
                dt{
                    margin-bottom:22px;
                    color: #99a2aa;
                    // font-weight: normal;
                    font-size: 12px;
                }
                dd{
                    width: 117px;
                    height: 14px;
                    margin-bottom: 16px;
                    float: left;
                    cursor: pointer;
                    &:hover{
                        color:rgb(0,161,214);
                    }
                }
            }
            dl:nth-of-type(2){
                width: 407px;
                height: 112px;
              
                border-left: 1px solid #e5e9ef;
                border-right: 1px solid #e5e9ef;
                padding-left:39px;
                
                float: left;
                dt{
                    color: #99a2aa;
                    margin-bottom:22px;
                    font-weight: normal;
                    font-size: 12px;
                }
                dd{
                    width: 117px;
                    height: 14px;
                    margin-bottom: 16px;
                    float: left;
                    cursor: pointer;
                    &:hover{
                        color:rgb(0,161,214);
                    }
                }
            }
            .weibo{
                width: 320px;
                height: 112px;
                background-color: skyblue;
                float: left;
                background: url(/images/download.jpg) no-repeat center;
            }
            &::after{
                display:block;
                clear:both;
                height:0;
                visibility: hidden;
                content:"";
            }

        }
        .bottom{
            margin-top:20px;
            height: 80px;
            background: url("/images/footer.jpg") no-repeat center;
        }
    }
}